﻿using UnityEngine;
using System.Collections;

public class ToScene5 : MonoBehaviour {

	// Use this for initialization
	void Start () 
    {
        this.gameObject.AddComponent("BoxCollider2D");
	}
	
	// Update is called once per frame
	void Update () 
    {
	
	}
    void OnMouseDown()
    {
        Application.LoadLevel("Scene5");
    }
    void OnMouseEnter()
    {
        Color32 cor = Color.black;
        cor.a = 0;
        this.renderer.material.color = cor;
    }
    void OnMouseExit()
    {
        Color32 cor = Color.white;
        cor.a = 255;
        this.renderer.material.color = cor;
    }
}
